package com.example.speeddating.utils;


/**
 * 常量类
 */
public class JwtConstant {

    // 基本url
    public static final String BASE_DOMAIN_URL = "http://localhost:3000/";

    //jwt密码
    public static final String JWT_SECRET = "xiaoqingbalbalba1233508729644xiaoqin1234567g";
    //jwt失效时间，单位秒
    public static final Long JWT_EXPIRATION = 24 * 60 * 60 * 1000L;
    //jwt 创建时间
    public static final String JWT_CREATE_TIME = "create_time";

    //jwt 用户信息-key
    public static final String USER_INFO_KEY = "user_info_key";
    //jwt 用户信息-id
    public static final String USER_INFO_ID = "id";
    //jwt 用户信息-username
    public static final String USER_INFO_USERNAME = "nickname";

}

